package com.maimao.model.user.enums;

import lombok.Getter;

/**
 * @author MaoLin Wang
 * @date 2021/5/14 下午2:42
 */
@Getter
public enum RoleEnum {
    ROLE_WEB_COMMON(5, "ROLE_web-common", "前端普通用户"),
    ROLE_WEB_ENTERPRISE(6, "ROLE_web-enterprise", "前端企业用户"),
    ROLE_WEB_SHOP(7, "ROLE_web-shop", "店铺管理"),
    ;


    private final Integer id;
    private final String code;

    RoleEnum(Integer id, String code, String name) {
        this.id = id;
        this.code = code;
        this.name = name;
    }

    private final String name;
}
